package cn.edu.dlmu.cogo.framework.config;


/**
 * @author yixi
 * JDBC连接配置类
 */
public class DataBaseConfig extends JavaConfig {

    private String dataBaseName = "test";

    private String userName = "root";

    private String passWord = "123456";

    private long cacheUnit = -1;

    private int cacheSize = -1;

    public String getDataBaseName() {
        return dataBaseName;
    }

    public void setDataBaseName(String dataBaseName) {
        this.dataBaseName = dataBaseName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public long getCacheUnit() {
        return cacheUnit;
    }

    public void setCacheUnit(long cacheUnit) {
        this.cacheUnit = cacheUnit;
    }

    public int getCacheSize() {
        return cacheSize;
    }

    public void setCacheSize(int cacheSize) {
        this.cacheSize = cacheSize;
    }
}
